Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cache builds in CI #20

Merged
merged 2 commits into from
Jun 25, 2021
Merged

Cache builds in CI #20

merged 2 commits into from
Jun 25, 2021

Conversation

MOZGIII
Copy link
Contributor

@MOZGIII MOZGIII commented Jun 13, 2021

This PR introduces caching to the CI. It cuts the CI time from ~20 mins to ~10 mins, pretty good.

To do:

  • fmt and other tasks that don't compile the code should not populate cache, so a config option has to be added there solved by adding a config key, turns out its better to have cache per subcommand
  • we're stuck on ICE, need to find a workaround before we can merge this, or wait for Preserve most sub-obligations in the projection cache rust-lang/rust#85868 to be merged and switch to a newer nightly disabled incremental builds

@MOZGIII MOZGIII changed the title Add CI caching Cache builds in CI Jun 13, 2021
@MOZGIII MOZGIII force-pushed the ci-cache branch 8 times, most recently from aebb2ef to fbaecf0 Compare June 13, 2021 16:35
@MOZGIII MOZGIII force-pushed the ci-cache branch 2 times, most recently from ac9c4e2 to 35b6dc2 Compare June 24, 2021 08:52
@MOZGIII MOZGIII marked this pull request as ready for review June 24, 2021 08:53
@MOZGIII MOZGIII enabled auto-merge (squash) June 24, 2021 08:53
@MOZGIII MOZGIII disabled auto-merge June 24, 2021 08:53
@MOZGIII MOZGIII enabled auto-merge (rebase) June 25, 2021 18:06
@MOZGIII MOZGIII merged commit 68fae4e into master Jun 25, 2021
@MOZGIII MOZGIII deleted the ci-cache branch June 25, 2021 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant